import type { RouteRecordRaw } from 'vue-router'

// 定义工作台模块的路由
const dashboardRoutes: RouteRecordRaw[] = [
  {
    path: '/dashboard',
    name: 'Dashboard',
    component: () => import('../views/dashboard/Dashboard.vue'),
    meta: {
      title: '工作台',
      requiresAuth: true,
      icon: 'el-icon-data-line',
      permission: ['view_dashboard'],
    },
  },
]

export default dashboardRoutes
